<template>
    <el-carousel height="17px" direction="vertical" indicator-position="none" :interval="4000" :autoplay="true" class="quote">
      <el-carousel-item v-for="(notice,i) in notices" :key="i">{{notice}}</el-carousel-item>
    </el-carousel>
</template>

<script>



export default {
  name: "quote",
  props: {
    notices: {
      type: Array,
      default: [],
    },
  },
  components:{
  }
};
</script>

<style scoped>
.quote {
  border-left: 3px solid #ff6d6d;
  background-color: #fbfbfb;
  padding: 15px 20px;
  border-radius: 3px;
}
</style>
